﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace OService2.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class AirController : ControllerBase
    {
        [Route("GetArr/{index}")]
        [HttpGet]
        public string GetArr(int index)
        {
            return $"get arr success! index :{index}, This is from {HttpContext.Request.Host.Value}, path: {HttpContext.Request.Path}";
        } 
    }
}
